package top.lt.lt_ssm.bean;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class evaluate {
	private String pname;
	
	private String content;

	private Date createTime;
	
	private double price;
	
	private String nikename;
	
	private Integer eid;

	private Integer pid;

	private Integer uid;

	public evaluate() {
	}

	public evaluate(String pname, String content, Date createTime, double price, String nikename, Integer eid,
			Integer pid, Integer uid) {
		this.pname = pname;
		this.content = content;
		this.createTime = createTime;
		this.price = price;
		this.nikename = nikename;
		this.eid = eid;
		this.pid = pid;
		this.uid = uid;
	}

	public String getPname() {
		return pname;
	}

	public void setPname(String pname) {
		this.pname = pname;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	public Date getCreateTime() {
		return createTime;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public String getNikename() {
		return nikename;
	}

	public void setNikename(String nikename) {
		this.nikename = nikename;
	}

	public Integer getEid() {
		return eid;
	}

	public void setEid(Integer eid) {
		this.eid = eid;
	}

	public Integer getPid() {
		return pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	@Override
	public String toString() {
		return "evaluate [pname=" + pname + ", content=" + content + ", createTime=" + createTime + ", price=" + price
				+ ", nikename=" + nikename + ", eid=" + eid + ", pid=" + pid + ", uid=" + uid + "]";
	}
	

	
}